home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20030409-20031118
/
000390_anthonypieper@cs.com_Thu Nov 6 15:40:18 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2003-11-18
|
1KB
Path: newsmaster.cc.columbia.edu!panix!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Problem with Kermit spawned from Expect script sending files
Date: 6 Nov 2003 12:16:15 -0800
Organization: http://groups.google.com
Lines: 31
Message-ID: <f0bb0f39.0311061216.1ba040a0@posting.google.com>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1068149775 9812 127.0.0.1 (6 Nov 2003 20:16:15 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 6 Nov 2003 20:16:15 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14645
I have the following lines from my EXPECT script, which first spawns
KERMIT, but it is failing trying to get a file called testfile.txt
This is part of the script:
.
.
cd /home
expect {
"#" {
send "send *.*\r"
expect {
"#" {
send "rm *.*\r"
.
.
I get this error message when I run it interactively:
"send: unable to stat draft file /root/Mail/testfile.txt: No such file
or directory"
I'm not sure why it is looking in the /root/Mail directory for this
file.
Also, doesn't the KERMIT Send command have a /delete option to delete
after succesful transfer ?
Thanks.